package com.ly.mapper;

import com.ly.pojo.TStudentClass;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TStudentClassMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TStudentClass record);

    int insertSelective(TStudentClass record);

    TStudentClass selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TStudentClass record);

    int updateByPrimaryKey(TStudentClass record);

    int deleteBySno(Long sno);

    int deleteByClassCode(String classCode);

    List<Long> selectSnoListByClassCode(String classCode);

    TStudentClass selectBySno(Long account);
}